<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/wslds-tags" prefix="lds"%>
<lds:listAjaxBody>
	<c:forEach items="${adapter.data}" var="article">
		<div class="log_block">
			<div class="log_date">
				<lds:date date="${article.createDate}" />
			</div>
			<div class="log_title">
				<lds:createLink name="${ article.title }" action="findArticle" paramsStr="articleExt.ids=${ article.id }" />
				&nbsp;&nbsp;&nbsp;&nbsp;
				<lds:createLink name="修改" action="edit" paramsStr="instance.id=${article.id }" />
			</div>
			<div class="log_type">
				<label> 文章分类： </label> <span> <lds:createLink name="${ article.type.name }" action="list" paramsStr="articleExt.types=${ article.type.id }" />
				</span> &nbsp;&nbsp; <label> 标签： </label>
				<c:forEach var="tag" items="${ article.tagList }">
					<span style="color: #2ddf2d;"> <lds:createLink name="${ tag.name }" action="list" paramsStr="articleExt.tags=${ tag.tagId }" />
					</span>&nbsp;
					</c:forEach>
			</div>
			<div class="log_content">${ article.content }</div>
			<div class="log_foot">
				<div>
					<lds:time date="${article.createDate }" />
				</div>
				<div>浏览（${ article.viewSum }）</div>
				<div>
					<a href="javascript:;">评论</a>（${ article.viewSum }）
				</div>
			</div>
		</div>
		<div class="content_blank"></div>
	</c:forEach>
</lds:listAjaxBody>